home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / appkit / NXCType.h < prev    next >
C/C++ Source or Header  |  1992-03-04  |  1KB  |  45 lines

  1. /*    NXCType.h */
  2.  
  3. /* Copyright (c) 1990 NeXT, Inc. - 8/21/90 RM */
  4. /* patterned after ctype.h ; for 8-bit encoding, Europe only */
  5.  
  6. #ifndef _NXCTYPE_H
  7. #define _NXCTYPE_H
  8.  
  9. #define    _U    01    /* Upper case */
  10. #define    _L    02    /* Lower case */
  11. #define    _N    04    /* Numeric */
  12. #define    _S    010    /* Space */
  13. #define _P    020    /* Printable */
  14. #define _C    040    /* Control */
  15. #define _X    0100    /* Hex Digit */
  16. #define    _B    0200    /* Blank */
  17.  
  18. extern int NXIsAlNum(unsigned c);
  19. extern int NXIsAlpha(unsigned c);
  20. extern int NXIsCntrl(unsigned c);
  21. extern int NXIsDigit(unsigned c);
  22. extern int NXIsGraph(unsigned c);
  23. extern int NXIsLower(unsigned c);
  24. extern int NXIsPrint(unsigned c);
  25. extern int NXIsPunct(unsigned c);
  26. extern int NXIsSpace(unsigned c);
  27. extern int NXIsUpper(unsigned c);
  28. extern int NXIsXDigit(unsigned c);
  29. extern int _NXToLower(unsigned c);
  30. extern int _NXToUpper(unsigned c);
  31. extern int NXToLower(unsigned c);
  32. extern int NXToUpper(unsigned c);
  33. extern int NXIsAscii(unsigned c);
  34. extern unsigned char *NXToAscii(unsigned c);
  35.  
  36. /*
  37.  * Data structures used by the internationized NX... versions of the
  38.  * ctype(3) routines.  These structures are private to the above routines
  39.  * and should NOT be referenced by the application.
  40.  */
  41. extern unsigned char _NX_CTypeTable_[];    /* char types */
  42. extern unsigned char _NX_ULTable_[];     /* case conversion table */
  43.  
  44. #endif /* _NXCTYPE_H */
  45.